package com.hycreate.platform.modules.config;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.hycreate.platform.common.persistence.Page;
import com.hycreate.platform.common.service.CrudService;
import com.hycreate.platform.modules.config.SfConfig;
import com.hycreate.platform.modules.config.SfConfigDao;

/**
 * 前端配置Service
 * @author hoader
 * @version 2017-01-17
 */
@Service
@Transactional(readOnly = true)
public class SfConfigService extends CrudService<SfConfigDao, SfConfig> {

	public SfConfig get(String id) {
		return super.get(id);
	}
	
	public List<SfConfig> findList(SfConfig sfConfig) {
		return super.findList(sfConfig);
	}
	
	public Page<SfConfig> findPage(Page<SfConfig> page, SfConfig sfConfig) {
		return super.findPage(page, sfConfig);
	}
	
	@Transactional(readOnly = false)
	public void save(SfConfig sfConfig) {
		super.save(sfConfig);
	}
	
	@Transactional(readOnly = false)
	public void delete(SfConfig sfConfig) {
		super.delete(sfConfig);
	}
	
}